// 引入 mysql 方法
let {conMysql} = require("../mysql");

//用户信息
async function get_shop(req, res) {
    const id = '12'
    const sql = `select * from user_info where id='${id}'`;
    let select_result = await conMysql(sql);
    console.log(select_result,'select_result')
    res.send({
        code: 200,
        data: {

        },
        msg: "成功",
    })

}

module.exports = {  get_shop };
